$(document).ready(function() {
var levels_pp = [0,5,8,11,17,25,38,57,86,128,192,288,433];

$('tr:gt(2)').filter('tr[@bgcolor=#404040]').each(function (i) {
  var pp = $('td:eq(6)', this).html(); 
  $('td:gt(1)', this).filter('td:lt(6)').each(function() {
    if (parseInt(pp) > levels_pp[parseInt($(this).html())+1]) {
      $(this).css('color', '#65f865'); 
    }
  }); 
});

});
